import { createApp } from 'vue';
import Antd from 'ant-design-vue';
import App from './App';
import router from "@/router/index";
// import 'ant-design-vue/dist/antd.css';
import 'ant-design-vue/dist/reset.css';
import * as Icons from "@ant-design/icons-vue"
//引入Bootstrap
import "bootstrap"
import "bootstrap/dist/css/bootstrap.css"
//引入echarts
import * as echarts from "echarts"
import axios from "axios";
// axios.defaults.baseURL='/test/'
const app = createApp(App);
app.config.globalProperties.$echarts = echarts //全局挂载echarts
app.use(Antd)
app.use(router)
app.mount('#app')
const icons = Icons;
for (const i in icons){
    app.component(i,icons[i])
}